package wjh.service;


import org.springframework.web.multipart.MultipartFile;
import wjh.pojo.Patient;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface wyPatientService {


    List<Patient> like(String likename);

    void addPatient(Patient patient, MultipartFile file, HttpServletRequest request);


    List<Patient> findAll();

    void deletePatientByid(String ids);

    Patient findPatientById(int id);

    void updatePatient(Patient patient, MultipartFile file, HttpServletRequest request);
}
